package com.collabscm.waf.vo;


/**
 * 验证错误的信息
 *
 * @author Zeng Raoxing
 */
public class ValidationFailureInfo extends ValueObject {
	private static final long serialVersionUID = 1L;
	
	private String name;
	
	private String prompt;

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getPrompt() {
		return prompt;
	}

	public void setPrompt(String prompt) {
		this.prompt = prompt;
	}

	@Override
	public String toJSONString() {
		return new StringBuffer("{name:\"").append(name).append("\",prompt:\"").append(prompt).append("\"}").toString();
	}
}
